package com.sky.config;

import com.sky.vo.EmployeeLoginVO;

public class EmployeeLoginVOBuilder {
    private EmployeeLoginVO vo = new EmployeeLoginVO();

    public static EmployeeLoginVOBuilder bulider(){
        return new EmployeeLoginVOBuilder();
    }

    public EmployeeLoginVOBuilder basic(String username, String name){
        this.vo.setUserName(username);
        this.vo.setName(name);

        return this;
    }

    public EmployeeLoginVOBuilder more(Long id, String token){
        this.vo.setId(id);
        this.vo.setToken(token);

        return this;
    }

    public EmployeeLoginVO build(){
        return this.vo;
    }
}
